<%--
  User: Shengzhao Li
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>忘记密码</title>

</head>
<body>
<%--forgot password page--%>
<div id="forgot_password_page" data-role="page" class="page">
    <div data-role="header" data-theme="f">
        <a href="${contextPath}/m/dashboard" data-icon="home" data-direction="reverse" data-transition="slide">主页</a>

        <h1>忘记密码</h1>
    </div>
    <div data-role="content">

        <p class="center">
            <b>请填写你的注册邮箱,我们将把重置后的密码发送到你的邮箱. </b>
        </p>
        <form:form commandName="forgotPasswordDTO" id="forgot_pass_form">
            <div data-role="fieldcontain">
                <label for="email">邮箱:</label>
                <input type="email" name="email" id="email" value="" placeholder="邮箱"/>
                <span class="red">*</span>
                <form:errors path="email" cssClass="form_error"/>
            </div>
            <fieldset class="ui-grid-a">
                <div class="ui-block-a">
                    <button type="submit" data-theme="b">发送</button>
                </div>
                <div class="ui-block-b" data-theme="c">
                    <a href="${contextPath}/m/login" data-role="button" data-direction="reverse" data-transition="slide">返回</a>
                </div>
            </fieldset>
        </form:form>
    </div>
</div>
</body>
</html>